package com.yunji.cabinet.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class UpgradeInfoVO {

    @ApiModelProperty("详情ID")
    private Long infoId;

    @ApiModelProperty("任务编码")
    private String taskCode;

    @ApiModelProperty("货柜名称")
    private String containerName;

    @ApiModelProperty("货柜Imei")
    private String chipImei;

    @ApiModelProperty("货柜类型名称")
    @Excel(name = "货柜类型名称")
    private String typeName;

    @ApiModelProperty("代理名称")
    private String agentName;

    @ApiModelProperty("网点名称")
    private String siteName;

    @ApiModelProperty("在线状态")
    private Integer onlineStatus;

    @ApiModelProperty("芯片类型")
    private String chipType;

    @ApiModelProperty("软件版本")
    private String version;

    @ApiModelProperty("状态 0-待开始 2-进行中 3-已完成 4-已取消")
    private Integer infoStatus;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;

    @ApiModelProperty("总共用时")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date useTime;
}
